
package org.dyndns.cooland.updater;

import org.dyndns.cooland.updater.db.model.Bean;

public interface InetLoaderCallback {
	
	// @RequiredEDT
	// void setText(String text);
	@RequiredEDT
	void setProgress(int progressPercent);
	
	@RequiredEDT
	void startLoading();
	
	@RequiredEDT
	void stopLoading(String path, String url, Bean bean);
	
	@RequiredEDT(RequiredEDTPolicy.SYNC)
	void showError(String message);
}
